export file=$1
cat AxB/$1.A | awk '{if (NR == 1 || $0 == "0") {} else print;}' | tr ',' ' ' >matlab/$1.Amat
cat AxB/$1.B | awk '{if ($0 == "0") {} else print;}' | tr ',' ' ' >matlab/$1.Bmat
